.PHONY: run
run:
	docker run --name nginx -p 10000:80 -itd liushiju/nginx:sp
	docker run --name phpfpm -itd --network container:nginx liushiju/php-fpm:sp

.PHONY: build
build:
	docker build -t liushiju/nginx:sp -f Dockerfile.nginx .
	docker build -t liushiju/php-fpm:sp -f Dockerfile.php-fpm .

.PHONY: clean
clean:
	docker rm -f nginx phpfpm  || echo "Container nginx already deleted."
